package com.acxy.b2b2c.entity;


import com.acxy.ants.core.plugin.entity.Column;
import com.acxy.ants.core.plugin.entity.Id;
import com.acxy.ants.core.plugin.entity.Model;
import com.acxy.ants.core.plugin.entity.Table;
import com.acxy.ants.resful.annotation.Entity;

import java.io.Serializable;

/**
* (member)
*
* @author MrShun
* @version 1.0.0 2017-10-11
*/
@Entity
@Table(name = "member")
public class Member extends Model implements Serializable {

    /** 会员ID */
    @Id
    @Column(name = "id")
    private Long id;

    /** 账号 */
    @Column(name = "account")
    private String account;

    /** 会员昵称 */
    @Column(name = "nickname")
    private String nickname;

    /** 性别: 0/女 1/男 */
    @Column(name = "sex")
    private Integer sex;

    /** 头像 */
    @Column(name = "avatar")
    private String avatar;

    /** 会员电话 */
    @Column(name = "tel")
    private String tel;

    /** 会员邮箱 */
    @Column(name = "email")
    private String email;

    /** 会员生日 */
    @Column(name = "birthday")
    private String birthday;

    /** 会员是否锁定:0/正常 1/锁定 */
    @Column(name = "is_lock")
    private Integer isLock;

    /** 用户等级 */
    @Column(name = "type")
    private Integer type;

    /** 微信openid */
    @Column(name = "open_id")
    private String openId;

    /** 注册日期 */
    @Column(name = "create_time")
    private java.util.Date createTime;

	public Member(){}

    public Member(Long id){
        this.id = id;
    }

    public Long getId(){
        return id;
    }

    public void setId(Long id){
        this.id = id;
    }


    public String getAccount(){
        return account;
    }

    public void setAccount(String account){
        this.account = account;
    }


    public String getNickname(){
        return nickname;
    }

    public void setNickname(String nickname){
        this.nickname = nickname;
    }


    public Integer getSex(){
        return sex;
    }

    public void setSex(Integer sex){
        this.sex = sex;
    }


    public String getAvatar(){
        return avatar;
    }

    public void setAvatar(String avatar){
        this.avatar = avatar;
    }


    public String getTel(){
        return tel;
    }

    public void setTel(String tel){
        this.tel = tel;
    }


    public String getEmail(){
        return email;
    }

    public void setEmail(String email){
        this.email = email;
    }


    public String getBirthday(){
        return birthday;
    }

    public void setBirthday(String birthday){
        this.birthday = birthday;
    }

    public Integer getIsLock() {
        return isLock;
    }

    public void setIsLock(Integer isLock) {
        this.isLock = isLock;
    }

    public Integer getType(){
        return type;
    }

    public void setType(Integer type){
        this.type = type;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public java.util.Date getCreateTime(){
        return createTime;
    }

    public void setCreateTime(java.util.Date createTime){
        this.createTime = createTime;
    }



}